﻿using System;
using ProjScan.Config;
using ProjScan.Config.GUIConfig;
using ProjScan.Modules;
using ProjScan.Tools;
using UnityEngine;

namespace ProjScan.ScanGUI.Page
{
	// Token: 0x02000269 RID: 617
	internal class CSCheckPage : BasePage<CSCheckConfig>
	{
		// Token: 0x060010A6 RID: 4262 RVA: 0x00008123 File Offset: 0x00006323
		public CSCheckPage()
		{
			this.pageId = "CS_Check";
			this.pageName = "C#代码检测";
			this.fixModule = Module.CS_Fix;
		}

		// Token: 0x060010A7 RID: 4263 RVA: 0x0000814B File Offset: 0x0000634B
		public override void Init()
		{
			this.dicRuleInfo = Singleton<RuleInfoManager>.Instance.dicRuleInfoByPage["4"];
			this.CreateRuleGUI();
		}

		// Token: 0x060010A8 RID: 4264 RVA: 0x0000816F File Offset: 0x0000636F
		public override void OnGUI(Rect mainRectangle)
		{
			this.rect = mainRectangle;
			GUITools.LabelWithStyle("基础设置：");
			GUITools.DrawSeparator(ScanSettingWindow.I.pageWidth - 20f);
			this.GUITitle(false);
		}
	}
}
